package com.summer.framework.system.service;

import com.summer.framework.system.controller.dto.CategoryDTO;
import com.summer.framework.system.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author Ice
 * @since 2025-09-25
 */
public interface CategoryService extends IService<Category> {

    void saveCategory(CategoryDTO dto);

    CategoryDTO getByCode(String code);
}
